{extends file="../home.html"}
{block name="title"}{$head_title}{/block}
{block name="css"}
<link rel="stylesheet" type="text/css" href="/Public/Css/front/front_css/live.css">
<link rel="stylesheet" type="text/css" href="__PUBLIC__/Css/front/front_css/refresh_load.css?version={$version}"/>
<style type="text/css">
body{
	background-color: #f3f3f3;
}
#load_wrapper{
	margin-top: 2.25rem;
	margin-bottom: 50px;	
}
</style>
{/block}
{block name="content"}
<div class="title">
	{$head_title}
	<a href="/FrontIndex/message_center" class="native_go">
		<span class="icon_info">
			<!--是否有消息圆点-->
			{if $is_read}<div class="point"></div>{/if}
		</span>
	</a>
</div>
<div id="load_wrapper">
	<div id="scroller">
		<div id="pullDown">
		    <span class="pullDownIcon"></span>
		</div>

		<ul class="channel_list">
			{foreach  from = $live_class_list item = this}
				<li class="live_channel">
					<a href="/FrontLive/live_channel/live_class_id/{$this.live_class_id}" class="native_go">
						<img class="live_pic" src="{$this.class_img}?imageView2/1/w/240/h/180/imageslim">
						<span class="live_name">{$this.live_class_name}</span>
						<span class="live_disc">{$this.live_desc}</span>
						<span class="icon_zhibo"></span>
						{if !$is_hidden}<span class="live_num">{$this.live_num}家</span>{/if}
					</a>
				</li>
			{/foreach}
		</ul>
	
		<div id="pullUp">
				<span class="pullUpIcon"></span><span class="pullUpLabel">上拉加载...</span>
		</div>
	</div>
</div>
<!-- {include file="../Index/nav.html"} -->
{/block}
{block name="js"}
<script type="text/javascript" src="__PUBLIC__/Js/front/iscroll.js"></script>
<script type="text/javascript" src="__PUBLIC__/Js/front/front_js/live.js"></script>
<script>
	var total = parseInt('{$total}')
	var firstRow = parseInt('{$firstRow}')
</script>
{literal}
<script type="text/javascript">
	var home_banner = new Swiper('.home_banner',{
        pagination: '.swiper-pagination',
        paginationClickable: true,
        autoplay: 2000,//可选选项，自动滑动
    })
</script>
{/literal}
{/block}
